package com.atguigu.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购详情
 *
 * @author shendong
 * @email shendong@gmail.com
 * @date 2020-04-25 22:19:39
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {
    /**
     * 条件分页查询
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 采购Id查采购详情
     * @param id
     * @return
     */
    List<PurchaseDetailEntity> listDetailByPurchaseId(Long id);
}

